/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 98152
 * Date: 2024-12-07
 * Time: 17:16
 */
public class Test {
    public static void main(String[] args) {
        Solution solution = new Solution();
        int[][] dungeon = {{-2,-3,3}, {-5,-10,1},{10,30,-5}};
        System.out.println(solution.calculateMinimumHP(dungeon));
    }
}
